package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_material_record")
@ApiModel(value = "角色信息表")
public class MaterialLogEntity extends CommonEntity {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "materialId")
    private Long materialId;

    /*
        1. 入库; 2 出库
     */
    @ApiModelProperty(value = "入库还是出库")
    private  Integer isIn;

    @ApiModelProperty(value = "材料名称")
    private  String Name;

    @ApiModelProperty(value = "创建人名称")
    private String Creator;

    @ApiModelProperty(value = "生产批次号")
    private String batchNumber;


    @ApiModelProperty(value = "材料变化数量")
    private  Integer Num;

    @ApiModelProperty(value = "电子签名快照")
    private  String Signature;

    @ApiModelProperty(value = "收货人")
    private  String Consignee;

    @ApiModelProperty(value = "备注")
    private  String Note;

    @ApiModelProperty(value = "物料类型")
    private  String Category;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除)")
    private Integer delFlag;

}
